package org.djw.hrm.mapper;

import org.djw.hrm.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author djw
 * @since 2022-02-10
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    /**
     * 根据公司名称查询
     * @param companyName
     * @return
     */
    List<Tenant> loadByCompanyName(String companyName);
}
